package mysql

import "gorm.io/gorm"

type ShoppingCard struct {
	gorm.Model
	UserId        int     `gorm:"type:int(11) not null" json:"userId"`
	GoodsId       int     `gorm:"type:int(11) not null" json:"goodsId"`
	GoodsNum      int     `gorm:"type:int(11) default 0" json:"goodsNum"`
	ShoppingTotal float64 `gorm:"type:decimal(10,2) default 0.00" json:"shoppingTotal"`
}
